home *** CD-ROM | disk | FTP | other *** search
- To compile Angband:
- -------------------
-
- 0) You will need Acorn C/C++ and OSLib 5.1. Other compilers
- may be suitable, but you will need to muck around with
- the Makefile, and you will need to find a replacement
- for eventlib.
-
- 1) Download the source tree. The Angband 2.7.9 source tree
- contains everything you need to compile RISC OS Angband.
-
- 2) Dearchive it using some suitable utility, such as SparkFS.
- Make sure it translates filenames such as Makefile.ibm to
- Makefile/ibm.
-
- 2) Merge its lib directory with your !Angband.lib directory.
-
- 3) Create a directory src inside !Angband, and directories
- c, h, and o inside src.
-
- 4) Copy as much of the source tree src directory into your src
- directory as you can (it's >77 files). You can delete all
- the Makefiles, except Makefile.acn, which you should rename
- to Makefile. A-mac-h.pch can go as well.
-
- 5) Make sure that Angband$Dir is pointing to the correct
- !Angband application by double-clicking on !Angband.!Boot.
- Run the enclosed ConvSource program. This will rename */c
- and */h to c.* and h.*.
-
- 6) Do steps 4 & 5 again with any source files you couldn't fit
- in the first time round.
-
- 7) Make sure all the c and h files, and the Makefile are set
- to type Text.
-
- 8) A slight bugfix needs to be made to the main-acn.c in
- the Angband 2.7.9 (v1) source tree:
-
- At line 492, after:
-
- if (buf > 0 && have_caret || (t=os_read_monotonic_time())-last_poll >= 10)
- {
-
- add:
-
- /* If buf > 0, probably didn't set t in the line above */
- if (buf > 0)
- t=os_read_monotonic_time();
-
-
-
- 9) You can now compile Angband using by dragging Makefile to
- !AMU. Examine config.h and Makefile for the various options
- available.
-
-
-
- Kevin Bracey (kevin@iota.co.uk)
-